/**
 * 角色store.
 * @author 苏亚欣
 * @version 1.0.0, 2015-07-16
 */
Ext.define('MyApp.store.RolesStore',{
    extend: 'Ext.data.Store',
    requires: 'MyApp.model.RolesModel',
 	model: 'MyApp.model.RolesModel',
 	autoLoad: true,
 	proxy: {
        type: 'ajax',
        actionMethods: 'POST',
        url: '../../../roles/list.action',
        reader: {
            type: 'json',
            rootProperty: 'rows',
            successProperty: 'success'
        }
    }
});
